<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" Inherits="AdHocReports.step5" Title="Untitled Page" Codebehind="step5.aspx.cs" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contentBody" Runat="Server">
    Setup group sub totals you want to include in your report.<br />
    <br />
    <table>
        <tr>
            <td colspan="3">
                Sub Total Choices:<br />
                <asp:DropDownList ID="cboOps" runat="server" AutoPostBack="True" OnSelectedIndexChanged="cboOps_SelectedIndexChanged">
                    <asp:ListItem Value="0">Sum</asp:ListItem>
                    <asp:ListItem Value="1">Average</asp:ListItem>
                    <asp:ListItem Value="2">Max</asp:ListItem>
                    <asp:ListItem Value="3">Min</asp:ListItem>
                    <asp:ListItem Value="4">Count</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        <tr id="trCols" runat="server">
            <td align="left" nowrap="nowrap" rowspan="2" valign="top">
                Available Columns:<br />
                <asp:ListBox ID="lstCols" runat="server" SelectionMode="multiple"></asp:ListBox></td>
        </tr>
        <tr id="trSum" runat="server">
            <td align="middle" valign="center">
                <asp:Button ID="cmdMoveRightSum" runat="server" OnClick="cmdMoveRightSum_Click" Text=" >> " /><br />
                <br />
                <asp:Button ID="cmdMoveLeftSum" runat="server" OnClick="cmdMoveLeftSum_Click" Text=" << " /></td>
            <td align="right" nowrap="nowrap">
                Sum:<br />
                <asp:ListBox ID="lstSum" runat="server" SelectionMode="multiple"></asp:ListBox></td>
        </tr>
        <tr id="trAvg" runat="server">
            <td align="middle" valign="center">
                <asp:Button ID="cmdMoveRightAvg" runat="server" OnClick="cmdMoveRightAvg_Click" Text=" >> " /><br />
                <br />
                <asp:Button ID="cmdMoveLeftAvg" runat="server" OnClick="cmdMoveLeftAvg_Click" Text=" << " /></td>
            <td align="right">
                Avg:<br />
                <asp:ListBox ID="lstAvg" runat="server" SelectionMode="multiple"></asp:ListBox></td>
        </tr>
        <tr id="trMax" runat="server">
            <td align="middle" valign="center">
                <asp:Button ID="cmdMoveRightMax" runat="server" OnClick="cmdMoveRightMax_Click" Text=" >> " /><br />
                <br />
                <asp:Button ID="cmdMoveLeftMax" runat="server" OnClick="cmdMoveLeftMax_Click" Text=" << " /></td>
            <td align="right">
                Max:<br />
                <asp:ListBox ID="lstMax" runat="server" SelectionMode="multiple"></asp:ListBox></td>
        </tr>
        <tr id="trMin" runat="server">
            <td align="middle" valign="center">
                <asp:Button ID="cmdMoveRightMin" runat="server" OnClick="cmdMoveRightMin_Click" Text=" >> " /><br />
                <br />
                <asp:Button ID="cmdMoveLeftMin" runat="server" OnClick="cmdMoveLeftMin_Click" Text=" << " /></td>
            <td align="right">
                Min:<br />
                <asp:ListBox ID="lstMin" runat="server" SelectionMode="multiple"></asp:ListBox></td>
        </tr>
        <tr id="trCount" runat="server">
            <td align="middle" valign="center">
                <asp:Button ID="cmdMoveRightCount" runat="server" OnClick="cmdMoveRightCount_Click"
                    Text=" >> " /><br />
                <br />
                <asp:Button ID="cmdMoveLeftCount" runat="server" OnClick="cmdMoveLeftCount_Click"
                    Text=" << " /></td>
            <td align="right">
                Count:<br />
                <asp:ListBox ID="lstCount" runat="server" SelectionMode="multiple"></asp:ListBox></td>
        </tr>
    </table>
</asp:Content>

